package com.androway.domains;

import java.util.Date;

import com.google.gson.annotations.Expose;

public class Job extends AbstractPersistentObject
{
	public static final int	TYPE_STAGE	= 0;
	public static final int	TYPE_CDD	= 1;
	public static final int	TYPE_CDI	= 2;

	public static final int	LEVEL_TEK1	= 1;
	public static final int	LEVEL_TEK3	= 2;
	public static final int	LEVEL_TEK5	= 4;

	@Expose
	private String			name;
	@Expose
	private String			description;
	@Expose
	private Date			date;
	@Expose
	private int				type;
	@Expose
	private boolean			fullTime;
	@Expose
	private int				level;
	@Expose
	private boolean			available;
	@Expose
	private int				duration;
	@Expose
	private Company			company;
	private School			school;

	public String getName()
	{
		return this.name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public String getDescription()
	{
		return this.description;
	}

	public void setDescription(String description)
	{
		this.description = description;
	}

	public Date getDate()
	{
		return this.date;
	}

	public void setDate(Date date)
	{
		this.date = date;
	}

	public int getType()
	{
		return this.type;
	}

	public void setType(int type)
	{
		this.type = type;
	}

	public boolean isFullTime()
	{
		return this.fullTime;
	}

	public void setFullTime(boolean fullTime)
	{
		this.fullTime = fullTime;
	}

	public int getLevel()
	{
		return this.level;
	}

	public void setLevel(int level)
	{
		this.level = level;
	}

	public boolean isAvailable()
	{
		return this.available;
	}

	public void setAvailable(boolean available)
	{
		this.available = available;
	}

	public int getDuration()
	{
		return this.duration;
	}

	public void setDuration(int duration)
	{
		this.duration = duration;
	}

	public Company getCompany()
	{
		return this.company;
	}

	public void setCompany(Company company)
	{
		this.company = company;
	}

	public School getSchool()
	{
		return this.school;
	}

	public void setSchool(School school)
	{
		this.school = school;
	}
}
